import VuiElement from '../../base/element';

export default class VuiImage extends VuiElement {
  constructor(image = 'default.png', className = '') {
    super();
    const img = new Image();
    image = image.replace('-', '/');
    img.src = require(`@/assets/images/${image}.png`);
    img.className = className;
    this.container = img;
  }
}
